const express = require('express');
const router = express.Router();

router.get('/', (req, res) => {
    res.json({
        message: 'ok',
        payload: {
            content: [{
                id: 1,
                region: 'string',
                dealerCode: 'string',
                country: 'string',
                submitData: '2020-06-22T08:54:44.019Z',
                submitNum: 'string',
                acceptNum: 0,
                returnNum: 0,
                claimsRejectNum: 0,
                monthEndNum: 0,
                crossMonthNum: 0,
                onePassNum: 0,
                onePassRate: 0,
                passRate: 0,
                preSettlementTime: '2020-06-22T08:54:44.019Z',
                settlementTime: '2020-06-22T08:54:44.019Z',
                PIUploadTime: '2020-06-22T08:54:44.019Z',
                reportToFinanceTime: '2020-06-22T08:54:44.019Z',
                accountTime: '2020-06-22T08:54:44.019Z',
                settlementCycle: 0,
                materialFee: 0,
                materialManagementFee: 0,
                workingHoursFee: 0,
                accessoriesFee: 0,
                settlementAmount: 0
            }],
            totalElements: 20,
        }
    });
});

module.exports = router;
